import { httpGet, httpPost, httpPut } from "../utils/reuquest";

// type loginParameter = {
// 	appId : string,
// 	appSecret : string,
// 	code : string,
// 	encryptedData : string,
// 	iv : string
// };

export const getCollectionsApi = (data : string) => httpGet('/users/getCollections', data);
export const getLoginByPhoneApi = (data:any) => httpPost('/users/loginByPhone', data);
export const getUserInfoApi = () => httpGet('/users/getUserInfo');
export const updateInfoApi = (data:any) => httpPut('/users/updateInfo',data);

